#include <iostream>
#include <string>
using std::cout;
using std::endl;
using std::string;

void test0(){
    string s1("hello,world!!!!");
    string s2("hello,world!!!!!");

    cout << &s1 << endl;
    printf("%p\n",&s1[0]);

    cout << &s2 << endl;
    printf("%p\n",&s2[0]);

    string s3 = s2;
    printf("%p\n",&s3[0]);


    
    /* cout << s1.size() << endl; */
    /* cout << s2.size() << endl; */
    /* cout << s1.capacity() << endl; */
    /* cout << s2.capacity() << endl; */

    /* cout << sizeof(string) << endl; */
    /* cout << sizeof(s1) << endl; */
    /* cout << sizeof(s2) << endl; */
}

int main(void){
    test0();
    return 0;
}
